<?php
$email=$_POST['email'];
//email validation
$return_data='';
if($email)
{
    if (!filter_var($email, FILTER_VALIDATE_EMAIL))
    $return_data.='ie_';
}
else
$return_data.='be_';

echo $return_data;
?>